<h1><b>Lista de Reservaciones</b></h1>

<table>
  <thead>
    <tr>
      <th>Id tu</th>
      <th>Id ru</th>
      <th>Id bu</th>
      <th>Id co</th>
      <th>Fecha</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($turnos as $turno): ?>
    <tr>
      <td><a href="<?php echo url_for('Turnos/show?id_tu='.$turno->getIdTu()) ?>"><?php echo $turno->getIdTu() ?></a></td>
      <td><?php echo $turno->getIdRu() ?></td>
      <td><?php echo $turno->getIdBu() ?></td>
      <td><?php echo $turno->getIdCo() ?></td>
      <td><?php echo $turno->getFecha() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('Turnos/new') ?>">New</a>
